package com.fastloan.mgt.customer.service.impl;

import com.fastloan.common.BasicServiceImpl;
import com.fastloan.mgt.customer.dao.CustomerFileMapper;
import com.fastloan.mgt.customer.model.CustomerFile;
import com.fastloan.mgt.customer.service.CustomerFileService;
import com.kawins.supers.file.IFileManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author admins
 *         createTime 2018/01/07
 */
@Service
public class CustomerFileServiceImpl extends BasicServiceImpl<CustomerFile> implements CustomerFileService {
    @Autowired
    private CustomerFileMapper customerFileMapper;

    @Autowired
    private IFileManager fileManager;

    @Override
    public void upload(String customerId, MultipartFile[] multipartFiles) {
        for (MultipartFile multipartFile : multipartFiles) {
            CustomerFile customerFile = new CustomerFile();
        }
    }
}
